﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.RenderingThreadingMode
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using UnityEngine.Scripting.APIUpdating;

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Options for the application's actual rendering threading mode.</para>
  /// </summary>
  [MovedFrom("UnityEngine.Experimental.Rendering")]
  public enum RenderingThreadingMode
  {
    /// <summary>
    ///   <para>Use the Direct enum to directly render your application from the main thread.</para>
    /// </summary>
    Direct,
    /// <summary>
    ///   <para>Use SingleThreaded for internal debugging. It uses only a single thread to simulate Rendering.RenderingThreadingMode.MultiThreaded|RenderingThreadingMode.MultiThreaded.</para>
    /// </summary>
    SingleThreaded,
    /// <summary>
    ///   <para>Generates intermediate graphics commands via the main thread. The render thread converts them into low-level platform API graphics commands.</para>
    /// </summary>
    MultiThreaded,
    /// <summary>
    ///   <para>Generates intermediate graphics commands via several worker threads. A single render thread then converts them into low-level platform API graphics commands.</para>
    /// </summary>
    LegacyJobified,
    /// <summary>
    ///   <para>Main thread generates intermediate graphics commands. Render thread converts them into low-level platform API graphics commands. Render thread can also dispatch graphics jobs to several worker threads.</para>
    /// </summary>
    NativeGraphicsJobs,
    /// <summary>
    ///   <para>Generates intermediate graphics commands via several worker threads and converts them into low-level platform API graphics commands.</para>
    /// </summary>
    NativeGraphicsJobsWithoutRenderThread,
  }
}
